<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改数据交换_日志')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-exchangeLog-edit" th:object="${exchangeLog}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">交换类型：1=上报 2=下发：</label>
				<div class="col-sm-8">
					<input id="exchangeType" name="exchangeType" th:field="*{exchangeType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">数据对象类型：1=事项目录 2=实施清单 3=认领关系 a=国家目录推送：</label>
				<div class="col-sm-8">
					<input id="objectType" name="objectType" th:field="*{objectType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">数据对象原ID：</label>
				<div class="col-sm-8">
					<input id="objectId" name="objectId" th:field="*{objectId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">数据对象：</label>
				<div class="col-sm-8">
					<input id="objectBody" name="objectBody" th:field="*{objectBody}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">数据对象来源行政划分代码：</label>
				<div class="col-sm-8">
					<input id="objectLevel" name="objectLevel" th:field="*{objectLevel}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">数据对象创建时间：</label>
				<div class="col-sm-8">
					<input id="objectCreatetime" name="objectCreatetime" th:field="*{objectCreatetime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理状态：0=未处理 1=正确 2=错误：</label>
				<div class="col-sm-8">
					<input id="processStatus" name="processStatus" th:field="*{processStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">待处理时间：</label>
				<div class="col-sm-8">
					<input id="pendingDatetime" name="pendingDatetime" th:field="*{pendingDatetime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">已处理时间：</label>
				<div class="col-sm-8">
					<input id="processedDatetime" name="processedDatetime" th:field="*{processedDatetime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">同步状态：0=未同步 1=待同步 2=已同步：</label>
				<div class="col-sm-8">
					<input id="syncStatus" name="syncStatus" th:field="*{syncStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">同步时间：</label>
				<div class="col-sm-8">
					<input id="syncDatetime" name="syncDatetime" th:field="*{syncDatetime}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "interfaces/exchangeLog";
		$("#form-exchangeLog-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-exchangeLog-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
